import instance from '@/utils/request'

// 提交登录的参数
export function loginApi(data) {
  console.log(data);
  return instance({
    url: '/sys/login',
    method: 'POST',
    data

  })
}

// 获取登录用户的信息
export function getInfoApi() {
  return instance({
    url: '/sys/profile',
    method: 'POST',
  })
}

export function logoutApi() {
  return instance({

  })
}
